package nero.yncc.com.createart.bean;

import java.util.List;

/**
 * Created by Administrator.
 * Time:2017/3/9 17:18.
 */

public class CategoryRightBean {


    /**
     * mobile_name : 手机配件
     * image : /Public/upload/category/2017/01-09/587303390ce0d.jpg
     * id : 12
     * level : 2
     * parent_id : 1
     * sub_category : [{"mobile_name":"电池 电源 充电器","image":"/Public/upload/category/2017/01-09/587308ed964b1.jpg","id":100,"level":3,"parent_id":12}]
     */

    private String mobile_name;
    private String image;
    private int id;
    private int level;
    private int parent_id;
    private List<SubCategoryBean> sub_category;

    public String getMobile_name() {
        return mobile_name;
    }

    public void setMobile_name(String mobile_name) {
        this.mobile_name = mobile_name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public List<SubCategoryBean> getSub_category() {
        return sub_category;
    }

    public void setSub_category(List<SubCategoryBean> sub_category) {
        this.sub_category = sub_category;
    }

    public static class SubCategoryBean {
        /**
         * mobile_name : 电池 电源 充电器
         * image : /Public/upload/category/2017/01-09/587308ed964b1.jpg
         * id : 100
         * level : 3
         * parent_id : 12
         */

        private String mobile_name;
        private String image;
        private int id;
        private int level;
        private int parent_id;

        public String getMobile_name() {
            return mobile_name;
        }

        public void setMobile_name(String mobile_name) {
            this.mobile_name = mobile_name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getParent_id() {
            return parent_id;
        }

        public void setParent_id(int parent_id) {
            this.parent_id = parent_id;
        }
    }
}
